package com.neusoft.modules.web.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("file_info")
public class FileInfoEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.INPUT)
    private String id;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * md5
     */
    private String identifier;

    /**
     * 大小
     */
    private Long totalSize;

    /**
     * 路径
     */
    private String location;

    /**
     * 上传时间
     */
    private Date uploadTime;
}
